home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
ftp.mactech.com 2010
/
ftp.mactech.com.tar
/
ftp.mactech.com
/
machack
/
Hacks97
/
WarriorsProgress.sit
/
Warrior’s Progress
/
Read Me
next >
Wrap
Text File
|
1997-06-28
|
1KB
|
45 lines
About Warrior’s Progress MacHack, 1997
Warrior’s Progress is a hack to add a proper progress window
with a progress bar to CodeWarrior’s builds. It’s not really practical,
because it’s got some evil hacks, and because it uses some really
slow AppleEvents to keep in sync with CodeWarrior.
I don’t think I’ll ever do a really stable version of this hack;
it’s more a proof of concept -- I’ll leave it to the people
at Metrowerks who can do a proper job.
Here's how to use it:
Start the CodeWarrior IDE 1.7.4.
Anchor the tool bar, and remove all those useless icons from it,
by shift-option-whatever-clicking them.
Make some files dirty, so you’re ready to compile.
Start up Warrior’s Progress.
Choose “Bring Up To Date.”
Wait while it queries CodeWarrior about your project.
It will start CodeWarrior compiling, and display the progress.
Close the window yourself when it’s done. Sorry, but the hack contest
is beginning!
The first time through, the progress bar won't be very accurate.
Try it a second time, without quitting Warrior’s Progress.
Since it keeps track of the compile lengths, the second time
the bar should move smoothly. If I had written the code
to save the statistics, I think it would be pretty accurate
most of the time. Even better, CodeWarrior could easily keep the
information in the project database.
That’s it. Share and Enjoy! Feel free to use any of this
code in your own hacks.
Tom Lippincott
lippin@zocalo.net